#-*- coding:utf-8 -*-

import time

def timmer(func):
    def warpper(*arg,**kwargs):
        start_time = time.time()
        func()
        stop_time = time.time()
        print('the func run time is %s'%(stop_time-start_time))
    return warpper
@timmer
def test1():
    time.sleep(3)
    print("in the test1")
    pass

test1()
